﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FormBase
{
    public abstract class AStatus
    {
        // implement some default behaviors.
        int _iError;
        string _sError;
        int miError { get {return _iError;} }
        string msError { get { return _sError; } }

        // same as interface, need to implement by child.
        public abstract DateTime ReleaseTime { get; }
        public abstract bool LoadStatus(string sFile);
        public abstract bool SaveStatus(string sFile);

        // overridable function by virtual
        public virtual void DefaultValues(string sData)
        {
            _sError = sData;
        }


    }
}
